﻿CREATE TABLE [structure].[ItemClaim]
(
[Id] [uniqueidentifier] NOT NULL,
[ClaimType] [varchar] (255) NOT NULL,
[ClaimValue] [varchar] (50) NOT NULL,
[AccessFlags] [int] NOT NULL DEFAULT (0)
) ON [PRIMARY]


GO
EXEC sp_addextendedproperty N'MS_Description', N'Item Claim Set Record Identifier', 'SCHEMA', N'structure', 'TABLE', N'ItemClaim', 'COLUMN', N'Id'
GO
EXEC sp_addextendedproperty N'MS_Description', N'Unique ClaimType to demand  in order to grant the AccessFlags to the ClaimPrincipal for the Item', 'SCHEMA', N'structure', 'TABLE', N'ItemClaim', 'COLUMN', N'ClaimType'
GO
EXEC sp_addextendedproperty N'MS_Description', N'Value of the ClaimType property that must be present for ClaimType for this record to apply to a ClaimPrincipal', 'SCHEMA', N'structure', 'TABLE', N'ItemClaim', 'COLUMN', N'ClaimValue'
GO
EXEC sp_addextendedproperty N'MS_Description', N'Binary flags indicating the permission rights associated with this record', 'SCHEMA', N'structure', 'TABLE', N'ItemClaim', 'COLUMN', N'AccessFlags'
GO
